package com.qlzb.taskmanagement.entity;


import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "timing_task")
@Entity
@Getter
@Setter
@Data
public class TimingTask implements Serializable {

    @Id
    @Column(name = "id")
    private String id;

    @Column(name = "task_code")
    private String taskCode;

    @Column(name = "server_ip")
    private String serverIp;

    @Column(name = "status")
    private Byte status;

    @Column(name = "task_name")
    private String taskName;

    @Column(name = "task_execute_num")
    private Byte taskExecuteNum;

    @Column(name = "last_time")
    private String lastTime;

    @Column(name = "interval_num")
    private Byte intervalNum;

    @Column(name = "config")
    private String config;

    @Column(name = "creator")
    private String creator;

    @Column(name = "create_time")
    private String createTime;

    @Column(name = "updater")
    private String updater;

    @Column(name = "update_time")
    private String updateTime;

    @Column(name = "del_flag")
    private Byte delFlag;

    @Column(name = "sort")
    private Integer sort;

    @Column(name = "remark")
    private String remark;
}